package com.gdcn.zb.sys.service;

import java.util.List;

import com.gdcn.zb.base.exception.ServiceException;
import com.gdcn.zb.sys.valueobject.Role;

public interface IRoleService {
	void createRole(Role role) throws ServiceException;

	void deleteRole(String id)throws ServiceException;
	
	void deleteRole(String[] ids)throws ServiceException;
	
	Role findRoleById(String id)throws ServiceException;
	
	void updateRole(Role role)throws ServiceException;
	
	List<Role> listRoleOfAll()throws ServiceException;
}
